package com.yswy.common.runnableUtil;

import org.springframework.core.Ordered;

/**
 * Aop的拦截顺序定义
 * POOLED_INVOKER_ORDER > DISTRIBUTED_LOCK_ORDER > 日志 > 事务
 *
 * @author XiaoXuxuy
 * @date 2022/2/20 15:38
 */
public class AopOrder {
    public static final int DISTRIBUTED_LOCK_ORDER = Ordered.HIGHEST_PRECEDENCE + 4;
    public static final int POOLED_INVOKER_ORDER = Ordered.HIGHEST_PRECEDENCE + 2;
}
